/**
 * MP Software.
 */
package models;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import play.db.jpa.Model;

/**
 * @author Jeremiah John M. Macariola
 *
 */
@Entity
public class Payment extends Model {

    public String paymentType;

    public Float hours;

    @ManyToOne
    public Payroll payroll;

    public Payment(String paymentType, Float hours, Payroll payroll) {
        super();
        this.paymentType = paymentType;
        this.hours = hours;
        this.payroll = payroll;
    }

}
